package com.aliyun.messagemgt.converter;

import com.aliyun.messagemgt.dto.BaseMessageTemplateParamDTO;
import com.aliyun.messagemgt.entities.BaseMessageTemplateParam;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @ClassName: BaseMessageTemplateParamConverter
 * @Description:
 * @Author: wugongzi
 * @Date: 2021/9/15 16:35
 * @Version: 1.0
 */
@Mapper
public interface BaseMessageTemplateParamConverter {
    BaseMessageTemplateParamConverter INSTANCE = Mappers.getMapper(BaseMessageTemplateParamConverter.class);

    List<BaseMessageTemplateParamDTO> baseMessageTemplateParamList2baseMessageTemplateParamDTOList(List<BaseMessageTemplateParam> baseMessageTemplateParamList);
}
